home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 August / Chip_1999-08_cd.bin / zkuste / MacOS / Files / MacAT.sit / MacAT Folder / MacAT README < prev    next >
Text File  |  1999-05-31  |  24KB  |  333 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. MacAT README
  19. $39 USD 
  20. macsos@kagi.com
  21.  
  22. To purchase, simply launch the "MacSOS Registration" 
  23. software and add your details or open the URL    
  24. http://order.kagi.com/cgi-bin/r1.cgi?GG&
  25.  
  26.  
  27. MacAT Overview 
  28. MacAT is a Windows AT/UNIX cron-like task scheduling application for Macintosh server administrators. It is a PowerPC application that allows 28 of the most common MacOS tasks to be run on demand, once, hourly, daily, weekly, fortnightly, monthly or yearly without user intervention. 
  29.  
  30.  
  31. These scheduled tasks include:
  32. -Sending eMail, ftp transfers
  33. -Compress Files and Folders
  34. -Binhex and Uncompress Files
  35. -Bringing Applications to the Foreground (to maximise CPU usage)
  36. -Hide Applications
  37. -Launching Applications, Files and AppleScripts
  38. -Quitting individual applications or alternatively quitting all currently running processes
  39. -Copy, move, rename, open,  delete any File or Folder.
  40. -Mount remote AppleShare volumes automatically over AppleTalk (eg NT, MacOS, UNIX EtherShare, Linux Netatalk AppleShare Volumes)
  41. -Unmount nominated AppleShare volumes
  42. -Restart or shutdown the Macintosh
  43.  
  44. Each MacAT task result is automatically logged in the MacAT file and the number of logs per task can be set by the administrator. 
  45.  
  46. MacAT could easily be used as a useful component of any MacOS server backup system (MacAT came about due to my own simple requirement that our MacOS servers were backed up nightly).
  47.  
  48. Requirements
  49. MacAT needs to be running with an open 'crontab' file at all time.
  50. MacAT requires MacOS System 7.1 but runs best under MacOS 8 or greater using the appearance manager (if installed). 
  51. MacAT runs as an application and does not add any extensions to your Macintosh System Folder.
  52. MacAT is PowerPC native code.
  53. MacAT appears to be year 2000 compliant.
  54. MacAT uses MacOS 8.5 Navigation Services (if installed).
  55.  
  56.  
  57. Notes:
  58. This is a full working version of MacAT. Registration removes the shareware reminders.  You are welcome to pass this software onto others (MacAT will revert to an unregistered copy) but please don't pass on the registration number.  
  59.  
  60. Only one MacAT crontab file can be opened at any one time. MacAT task files are saved automatically (like FileMaker Databases). This decision was taken so that as each task is performed, the results are recorded and saved.  The number of logs for each AT task can be adjusted in the preferences window by the server administrator. The log information can be very useful if you have complex batches of tasks that aren't giving you the results you need. 
  61.  
  62. AT task are processed synchronously but several AT jobs can be scheduled to run in the same minute (as long as the other task have finished inside that minute).  Where possible allow plenty of time for each task to complete (eg allow 2-3 mins between AT tasks).  
  63.  
  64. Most buttons in dialog windows can be selected from the keyboard (holding down the command key will cause the button to reveal the required key). In a similar fashion, the tab-panel log screens can also be navigated using the keyboard (simply press 1, 2 or 3)
  65.  
  66. Clicking on the table column headers in each task panel sorts the information (eg Status, Date, Result).
  67.  
  68. Clicking on the "Todays' Next AT Task" description selects that the next task in the task list. 
  69.  
  70. Tasks that quit MacAT, Restart or Shut Down the Macintosh are logged before the task is performed and worded as if the command executed successful. If the task subsequently fails then another log is recorded, describing the failure.
  71.  
  72. Caution. Tasks that refer to aliases always refer to the real file or folder that the alias points to.
  73.  
  74.  
  75. Launch Application
  76. Any Macintosh application can be scheduled to run.
  77.  
  78. Bring Application To Front
  79. Any running Macintosh application can be scheduled to be brought to the front. The application is not launched if is not running. (Consider just using a "Launch Application" task in this case).
  80.  
  81. Hide Application
  82. Any running Macintosh application (except MacAT) can be scheduled to be hidden. Pretty boring really...
  83.  
  84. Quit Application
  85. Requires the application to respond to the "quit" AppleEvent.  As a required AppleEvent, almost every System 7 application should work. Use this command if you want to quit MacAT (the result will be logged).
  86.  
  87. Quit All Applications
  88. MacAT sends the 'quit" AppleEvent to all open applications, including faceless background processes, (but excluding "File Sharing Extension"). Most faceless background MacOS components will start back up again automatically. MacAT will not  attempt  to quit the "Finder" or "MacAT". 
  89.  
  90. Open File
  91. Any Macintosh file, application or AppleScript cab be scheduled to run.  Identical to "Launch Application".
  92.  
  93. Copy File
  94. Copying files between AppleTalk File server volumes can take a while so allow plenty of time for this command to complete (eg 10 minutes before the next AT task is scheduled to run).  This task will not replace an existing file. Consider scheduling a delete or rename task before copying/replacing).
  95.  
  96. Move File
  97. You can only move files not folders. The destination folder must reside on the same volume as the original file.
  98.  
  99. Rename File
  100. Any Macintosh file, application or AppleScript can be renamed.  Files are renamed in place (ie in the same folder). To move a file consider scheduling an AT copy task followed by an AT rename task.
  101.  
  102. Delete File
  103. Any Macintosh file, application or AppleScript can be deleted. No warning is given and the task can not be undone. Caution. Deleting an alias deletes the original.
  104.  
  105. Compress File & Folder, Uncompress File
  106. Any Macintosh file, application or AppleScript can be compressed.  The "Stuffit Engine", part of DropStuff from Aladdin Systems, http://www.aladdinsys.com, must be installed.  "Uncompress File" will uncompress or decode any file that the your Stuffit Engine can handle.  Use this command to decode binhex files.
  107.  
  108. Binhex File
  109. This task only encodes files to the binhex format.  To decode a binhex file just use the "Uncompress File" task. Any Macintosh file, application or AppleScript can be binhexed.  The "Stuffit Engine", part of DropStuff from Aladdin Systems, http://www.aladdinsys.com, must be installed and configured.
  110.  
  111. Copy Folder
  112. Copying folders between AppleTalk File server volumes can take a while so allow plenty of time for this command to complete (eg 10 minutes before the next AT task is scheduled to run).  All files and sub-folders are also copied.  Aliases are not followed.  This task will not replace an existing folder. Consider scheduling a delete or rename task before copying/replacing)
  113.  
  114. Rename Folder
  115. Folders are renamed in place (ie in the same parent folder). To move a folder consider scheduling an AT copy task followed by an AT rename task.
  116.  
  117. Delete Folder
  118. Any folder can be deleted even if it is not empty.  All files and sub-folders are also deleted. Use at your own peril. 
  119. NOTE. Deleting an alias of a folder now only  deletes the alias and not the original folder as was the case for all versions of MacAT before version 4.0.
  120.  
  121. Mount Volume
  122. You  need to mount the volume on the desktop before MacAT allows you to add the user name and password information. The AppleTalk Zone  server information is calculated automatically.  The mount volume command uses AppleTalk and works over LocalTalk, Ethernet and ARA connections. Mounting an AppleTalk volume is slow (and modal), so allow MacAT a couple of minutes to mount the volume before the next MacAT task is scheduled.  This task will not mount AppleShare IP volumes if they cannot be mounted via AppleTalk.
  123.  
  124. Put Away Volume
  125. You can put away every volume except the Boot Volume. You should avoid having multiple volumes on the desktop with the same name.  This command may have problems with removable disks.
  126.  
  127. Restart Computer
  128. This command will fail if other applications require user input (eg Save, Don't Save dialog windows)
  129.  
  130. Shut Down Computer
  131. This command will fail if other applications require user input (eg Save, Don't Save dialog windows)
  132.  
  133. Send eMail
  134. Use this command to automate sending regular eMail messages (eg monthly pay slip reminders).  This task requires a valid: eMail address; return eMail address and SMTP server IP.  Strict validation of the entered eMail addresses is not attempted.  The TCP/IP subsystem must already be active otherwise this task will return an error (ie A PPP connection will not be automatically instantiated - the link must already be in place).  Over a 28k modem PPP or ARA  link, expect to take 2-5 seconds to send an eMail. With a permanent ethernet connection, the smtp process should take less than 1 second to complete.  This task is really for Macintosh computers with a permanent network connection. 
  135.  
  136. Brief explanation of the SMTP features:
  137. The To: field holds the email address of who you are sending the mail to.  You may separate multiple email addresses with commas. The From: field is used to tell the SMTP server what your ID is, and it sets the From: header.  It MUST be in the form userid@host (eg. macsos@kagi.com).
  138. The SMTP server is the server you wish to relay the mail through, probably your ISP's mail server.  This can either be in the form of an IP address or a valid DNS name (eg hostname.domain).
  139.  
  140. Send Ping
  141.  This simply opens and closes a TCP connection to a port on an IP server. Handy if you just want to keep an internet connection from automatically closing due to inactivity. 
  142.  
  143. Show URL
  144. URL stands for Universal Resource Locator. URL's are addresses for Internet locations such as ftp and web sites. The Show URL task uses the user's Internet Config application preferences to determine which application to launch based on the type of URL specified. For example, passing a URL that beings with "http" will launch the user's web browser. For example adding the URL "http://order.kagi.com/cgi-bin/r1.cgi?GG&"  to the MacAT "Show URL" task, will launch the user's chosen web browser and go to our purchase MacAT web page. Alternatively, the Show URL  "ftp://ftp.garvan.unsw.edu.au/gerham/macsos/MacAT.sea.hqx" will  launch the user's chosen ftp client application, go to our ftp site, and download the current version of MacAT (if it where there). "Show URL" never records an error even if something does go wrong.
  145.  
  146.  
  147.  
  148. Thoughts for Future Versions:
  149. Mount AppleShare volumes over IP.
  150. Open multiple MacAT files at once.
  151. Replace File and Folder tasks.
  152. Smaller RAM and disk space requirements.
  153. Background faceless application engine while keeping the standard MacAT task-builder interface.
  154. "Open With" task.
  155. Add transparency to RB and MacAT pictures
  156. Half-baked Windows 95/NT port.
  157.  
  158.  
  159. Dr Gerard Hammond
  160. MacSOS, Australia, 1999.
  161.  
  162.  
  163. Copyright
  164. MacAT is ⌐ MacSOS, Australia, 1999.
  165. MacAT was written in the brilliant REALbasic available from http://www.realsoftware.com/
  166. Portions of this code are licensed from Core Development Group. 
  167. Portions of this code were written by Seth Dillingham ⌐ 1998 Macrobyte Resources.
  168. Portions of this code are ⌐ Brian Jones, 1997, 1998.
  169. Portions of this code are ⌐ Olivier Robert, 1998-99.
  170. Portions of this code are ⌐ Matthias Kahlert, 1998.
  171. Portions of this code are ⌐ Frederic Rinaldi and are used with permission.
  172. FullRemove, ⌐ Frederic Rinaldi, 1989╔1998.
  173. CopyFolder, ⌐ Frederic Rinaldi, 1989╔1998.
  174. FileCopy, ⌐ Frederic Rinaldi, 1989╔1998.
  175. FullSort, ⌐ Frederic Rinaldi, 1989╔1998.
  176. FullBalloons, ⌐ Frederic Rinaldi, 1989╔1998.
  177. CreateAlias, ⌐ Frederic Rinaldi, 1989╔1998.
  178. FullStuff, ⌐ Frederic Rinaldi, 1989╔1999.
  179. Portions of this code are ⌐ Purple E Software, 1998.
  180.  
  181.  
  182. History
  183. v1.0 
  184. Released Jan. 1999.
  185.  
  186. v1.1  
  187. Released 2 Feb 1999.
  188. -Added a new task "Bring Application to Front".
  189. -Added "Hourly" to the list of schedule selections.
  190. -Faster keydown timer setting to improve trapping of keyboard/button selections in MacAT windows.
  191. -Tightened the checking when not selecting a month & date for "Yearly" schedule tasks.
  192. -Added an Easter Egg.
  193. -Removed close box from main AT list to make it harder to accidentally close the Mac crontab file.
  194. -Reduced RAM requirements to less than 2MB.
  195. -Enabled more keyboard navigation controls (eg pressing the spacebar  edits the currently selected AT job).
  196.  
  197. v2.0
  198. Released 10 Feb 1999.
  199. -Added new task "Send eMail".
  200. -Added eMail notification of task errors.
  201. -Individual tasks can be turned on or off.
  202. -Slightly widened the main task list to accommodate the extra task settings.
  203. -Fixed a non-crashing bug where clicking the cancel button instead of selecting an application from the list of active applications failed to update the "Edit At Job" window.
  204. -Added a self-closing notification alert. This alert automatically closes itself after several seconds to ensure that MacAT and the Macintosh server can continue unimpeded and is used extensively when SMTP processes fail.  Note: eMail messages for failed task errors are not logged but rather a self-closing notification alert is posted. 
  205.  
  206. v2.0.1
  207. Released 10 Feb 1999.
  208. -Fixed various non-crashing bugs where widgets did not deactivate in the background.
  209. -Fixed various spelling mistakes in MacAT and documentation.
  210.  
  211. v2.0.2
  212. Released 11 Feb 1999.
  213. -Removed the problem where the "Put Away" task was not working reliably (due to a bug in the development environment REALbasic).  The problem was fixed by replacing the Unmount XCMD with one written by Apple in the late 1980's).
  214.  
  215. v2.1
  216. Released 18 Feb 1999.
  217. -Added "Append Text Document" feature to outgoing "Send eMail" tasks (for those who need their log files emailed to them). Please note that I haven't attempted to strip any high ASCII characters (those greater than 128) from the appended text files. This may or may not be friendly to your smtp server.  Let me know if you have any text files that contain strange characters that have problems when sending.
  218. -Removed the command key " Q" from the "Quit" menu item. 
  219.  
  220. v3.0
  221. Released 3 March 1999.
  222. -Added "Once" schedule.
  223. -Added "Fortnightly" schedule. I believe that this schedule option is unique (on any platform) to MacAT.
  224. -Added "Open Folder" task (used to activate Apple FolderAction Applescripts).
  225. -Added "Hide Application" task.
  226. -Added the ability to delete an individual tasks logs or all logs.
  227. -Fixed crashing bug when "Put Away" task was performed repeatedly on a PPC. This bug appeared to be introduced by the Apple XCMD added in v2.0.2.
  228. -Fixed cosmetic bug for "Yearly" tasked scheduled to run the first of the month.
  229. Note: "Send eMail" task does not work on old Macintosh's which do not have Open Transport installed. 
  230.  
  231. v3.1
  232. Released  10 March 1999.
  233. -Appear to have finally fixed the "Put Away" task. This was accomplished after integrating a new plugin, "FSPlugin" by Tim Spalone, instead of the previous unreliable XCMDs. Thanks to Mike Schon-Hegrad for beta testing the bugs out of this one.
  234. -Added "Compress File", "Compress Folder" and "Uncompress File" tasks.  These require the "Stuffit Engine" to be installed and configured.
  235. -Fixed the visual bugs associated with the "Send email on failures" checkboxes.
  236.  
  237. v3.2
  238. Released March 18 1999.
  239. -Added a title field to each MacAT task. This field, if it contains any text, will be displayed on the main MacAT task list instead of the usual MacAT generated summary description line.
  240. -Added more balloon help.
  241. -Redesigned preferences window.
  242. -Added Veronica to credits on "About MacAT..." page.
  243. -Added sound notification for whenever any MacAT task fails. I don't want to add different sounds for individual tasks as that would be a little too much 'featuritus'.
  244. -Started to add "Run missed AT tasks when MacAT starts up".  I will try to complete for the next version.
  245. -Added user definable font and fontsize for main AT task, log and history list boxes.
  246.  
  247. v3.5
  248. Released 31 March 1999.
  249. -Added "Hide main MacAT list window after launch" preference setting.  When selected the main list will always be invisible after launching MacAT.
  250. -Added new menu item "Toggle AT list". Use this to show/hide the main MacAT list window.
  251. -Added confirmation dialogs when closing or quitting MacAT (even with hidden main MacAT list windows).  This warning dialog does not appear when quitting MacAT with a MacAT task. You can set MacAT to not ask for confirmation to quit in the preferences window.
  252. -Added a "Run AT Task" menu. This allows you to run the selected task immediately from the main MacAT list window.
  253. -Added an "Insert MacAT tag" feature for the send email task.  Allows the insertion of the 'date' and 'chooser name' when the mail is ultimately sent.  Let me know if you have more suggestions for this command.
  254. -Added on-screen notification of missed tasks. At launch, MacAT scans through the list of AT tasks and checks the last execution date.  Tasks that should have been run (but were missed as MacAT was not launched) are flagged as 'missed'. The server administrator can then determine if they should be performed 'by hand' (using the new "Run AT Task" menu).  MacAT does not automatically run missed tasks in case the tasks really were meant to be skipped. 
  255. -Tidied up a lot of the internal menu handling logic and code.
  256. -Added a preference setting to re-enable the command key "Q" for the "Quit" menu item. 
  257. -Changed the command key for the Edit Task button in the Edit task window from "T" to "E". 
  258.  
  259. v3.5.1
  260. Released 1 April 1999.
  261. -Fixed a potential bug when email attachments could not be found.
  262.  
  263. v3.6
  264. Released 12 April 1999.
  265. -Added a blurb to outgoing eMail messages that should have had attachments but the attachment document could not be found.
  266. -Fixed the over zealous 'missed' task notifications.
  267. -Re-jigged the preferences screen.
  268. -Added preferences setting to disable MacAT eMail vocabulary substitutions (sorry Matt H!).
  269. -Added "IP Address" and "Internet Config: Name" to MacAT's eMail vocabulary.
  270. -Finally enabled logging of "Send eMail" errors.
  271. -Enabled a default button in the About MacAT window (for registered versions).
  272. -Added more balloon help.
  273. -Added a balloon help on/off button to the main MacAT list window.
  274. -Fixed the Cancel button in the preference window so that it actually reverse any preferences changes.
  275. -Added Internet Config support, namely the From: eMail address and SMTP server names are automatically detected.
  276.  
  277. v3.7
  278. Released 21 April 1999.
  279. -Added the "Send Ping" task.  This simply opens and closes a connection to a port on an IP server. Handy if you just want to keep an internet connection from automatically closing due to inactivity.
  280. -Added "Every X mins" schedule.  This allows a task to be scheduled to run every 1-2147483646 minutes  (While this upper number is possible, it is equivalent to running a job approx, every 4083 years and MacAT is limited to work until only 2039).
  281. -eMail and ping commands are only logged once instead of the previous way were the task was always logged and errors, if any, where subsequently logged later.
  282. -Enabled a single launch only, debug preference setting.  Don't use this under normal circumstances.
  283. -Fixed a "Send eMail" bug that has been lurking since v3.2.
  284. -By default, "Insert MacAT tag" is now turned off for new MacAT users as this feature has been causing some crashing problems with some computers.
  285.  
  286. v4.0
  287. Released  10 May 1999.
  288. -PowerPC only release as 68k version has some problems. 
  289. -Deleting a folder alias now only deletes the alias (with previous versions of MacAT,  the "Delete Folder" task would resolve the alias and delete the  folder the alias was pointing to. I thought it was too dangerous to leave it this way).
  290. -Added the "Binhex File" task.  
  291. -Added the "Move File" task.  The destination folder must be on the same volume.
  292. -Added the "Show URL" task.  Uses the appropriate application (based on the user's Internet Config settings) to go to the URL (web address, ftp address, etc.) specified. 
  293. -Added the "After MacAT Startup" schedule. This allows you to nominate the number of minutes after the MacAT crontab file is opened before the task is to be performed.
  294. -Added ascending and descending sorting buttons to the "Task", "Task History" and "MacAT History" lists.  Note, it is still not possible to sort the "Schedule" column in any direction.
  295. -Copying to the clipboard has been enabled in the "Task History" and "MacAT log" lists for those who want to export this information to other programmes.
  296. -Added two disclosure triangles to hide/show sections of the MacAT window.  The size of the main window is not saved with the crontab file but is rather saved in the preferences file.  You need to open and save the preferences to save the current window height. 
  297. -Added a purchase MacAT reminder to all eMail sent from unregistered copies of MacAT
  298. -Added separators instead of blank lines in task popup menu.
  299. -Added a web payment URL link to the "About MacAT..." window and registration window.
  300. -Upgraded FileCopy XCMD to v4.0.  This enables a "Cancel" button in the copying dialog box.
  301. -Upgraded FolderCopy XCMD to v3.4.  This enables a "Cancel" button in the copying dialog box.
  302. -Removed "StuffPlug" (a third party REALbasic plugin) and replaced it with yet another brilliant XCMD "FullStuff" from Rinaldi.
  303. -Also removed "Gestalt Plugin 1.1 (PPC)" and "FreeMem-PPC" plugins in yet another attempt to get 68k to work again. 
  304. -Fixed bug with erroneous eMail logs after eMail was successfully sent.
  305. -The default button on the "Startup Window" is now the "Open" button.
  306. -MacAT now monitors the remaining memory allocated to MacAT. If the remaining free memory falls below 30k then MacAT automatically quits. In the past, the Macintosh would potentially hang.  
  307. -Added "Don't display full path names (just file names)" in lists and "Don't display full paths (when successful)" preferences  where the former refers to list views and the latter to logs.
  308.  
  309. v4.0.1
  310. Released  24 May 1999.
  311. -Upgraded the FullStuff XCMD to fix random crashes when Stuffit Engine is not installed.
  312. -Fixed a small bug with preferences and the main window not being open.
  313. -Added "Disable Internet Config" as it may have been affecting MS Internet Explorer's ability to download cookies. Untested.
  314. -Ascending and descending buttons now immediately sort (the highlighted list column) when clicked.
  315. -Appear to have fixed a bug were tasks could be lost when columns where sorted descendingly.  Fixed by turning off international sorting in the FullSort XCMD.  This change shouldn't affect the English centric MacAT. 
  316. -MacAT version number is now automatically detected.
  317.  
  318. v4.0.2
  319. Released  31 May 1999.
  320. -"Remove File" and "Remove Folder" tasks can now delete locked files. 
  321.  
  322.  
  323.  
  324.  
  325. MacSOS
  326. Software License Agreement
  327. MacAT¬ is Copyright ⌐1999 by MacSOS.
  328.      MacSOS grants a free 30 day license for use of this software (MacAT), starting from the date of receipt, after which time said software must be registered with MacSOS with appropriate compensation and registration forms.  Under no circumstances may the software be used beyond the free 30 day licensing period unless the previously stated conditions have been satisfied.  You must purchase a separate copy of the software for each Macintosh it is used on.
  329.      Unless explicitly stated in writing, MacSOS does not grant permission to distribute the software for profit in any form, including but not limited to, electronic information service distribution, bulletin board distribution, and magnetic or optical medium distribution.  Non-profit distribution of the software is acceptable without prior written notice, providing that the software is not modified in any way, and the complete works of the software are included in the distribution package.
  330.      MacSOS is not responsible for any damage to the purchaser's computer system or data and in no event will MacSOS, its officers, directors, employees or agents be responsible to the purchaser for any consequential, incidental, or indirect damages (including damages for loss of business profits, business interruption, loss of business information and the like) arising out of the use or inability to use the MacSOS product, even if MacSOS has been advised of the possibility of such damages. 
  331.      If you have any questions concerning the above license, please do not use this software.
  332.